package api

import (
	"github.com/gogf/gf/v2/frame/g"
	"lot_admin_api/internal/model"
)

// AddSiteReq  添加站点
type AddSiteReq struct {
	g.Meta `path:"/site/add" tags:"站点模块" method:"post" summary:"添加站点"`
	model.SiteInfoRes
}

// EditSiteReq  编辑站点
type EditSiteReq struct {
	g.Meta `path:"/site/edit" tags:"站点模块" method:"post" summary:"编辑站点"`
	model.SiteIdAndInfoRes
}

// SiteInfoReq  站点详情
type SiteInfoReq struct {
	g.Meta `path:"/site/info" tags:"站点模块" method:"get" summary:"通过站点id查询站点详情"`
	model.SiteIdReq
}

// DeleteSiteReq  删除站点
type DeleteSiteReq struct {
	g.Meta `path:"/site/delete" tags:"站点模块" method:"delete" summary:"通过站点id删除站点"`
	model.SiteIdReq
}

// SiteListReq  站点列表
type SiteListReq struct {
	g.Meta `path:"/site/list" tags:"站点模块" method:"get" summary:"站点列表"`
	*model.SiteSearchList
}
